org\wplake\advanced_views\Upgrades C

Total Complexity 110
Dependencies 19
Dependents 0
Total lines 864
Lines of code 571
Logical lines of code 314
Comment lines 85
Methods 31
Properties 8

Methods 31

Method Rating Maintainability Complexity Lines of code
upgrade()
A
39 14 73
isVersionLower()
A
49 11 31
replacePostCommentsAndMenuLinkFieldsToSeparate()
A
48 7 35
setupLightBoxSimpleFromOldCheckbox()
S
53 7 24
updateMarkupIdentifiers()
S
49 6 30
moveOptionsToSettings()
S
55 5 21
putNewDefaultInfoExistingEmptyQueryArgsField()
S
49 3 46
moveViewAndCardMetaToPostContentJson()
S
52 4 25
putNewDefaultInfoExistingEmptyPhpVariableField()
S
51 3 37
setDigitalIdForMarkupFlagForViewsAndCards()
S
54 4 20
fillUniqueIdAndPostTitleInJson()
S
56 4 18
disableWebComponentsForExistingViewsAndCards()
S
59 4 14
recreatePostSlugs()
S
55 3 20
replaceViewIdToUniqueIdInCards()
S
56 3 17
replaceViewIdToUniqueIdInViewRelationships()
S
58 3 15
replaceViewIdToUniqueIdInView()
S
61 3 13
replaceGutenbergCheckboxWithSelect()
S
63 3 11
enableNameBackCompatibilityCheckboxForViewsWithGutenberg()
S
63 3 11
fixMultipleSlashesInPostContentJson()
S
57 2 17
enableWithCommonClassesAndUnnecessaryWrappersForAllViews()
S
58 2 15
removeOldThemeLabelsFolder()
S
69 2 7
setHooks()
S
68 2 7
triggerSaveForAllCards()
S
69 2 7
triggerSaveForAllViews()
S
69 2 7
firstRun()
S
65 2 10
log()
S
91 1 2
extraUpgrade()
S
91 1 2
getAllCards()
S
65 1 9
getAllViews()
S
65 1 9
replacePostIdentifiers()
S
65 1 8
__construct()
S
64 1 10